package com.demo.entity.po;

import com.demo.annotation.VerifyParam;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Date:2025-03-11
 * @author：author
*/
public class Laboratory implements Serializable {

	/**
	 * 实验室ID
	 */
	private Integer laboratoryId;

	/**
	 * 实验室名
	 */
	private String name;

	/**
	 * 实验室地点
	 */
	private String location;

	/**
	 * 联系方式
	 */
	private String contact;

	/**
	 * 创建者
	 */
	@VerifyParam(required = true)
	private Integer userId;


	private String userName;

	private List<DeviceInventory> inventoryList;

	public List<DeviceInventory> getInventoryList() {
		return inventoryList;
	}

	public void setInventoryList(List<DeviceInventory> inventoryList) {
		this.inventoryList = inventoryList;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setLaboratoryId(Integer laboratoryId) {
		this.laboratoryId = laboratoryId;
	}

	public Integer getLaboratoryId() {
		return this.laboratoryId;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getLocation() {
		return this.location;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getContact() {
		return this.contact;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	@Override
	public String toString() {
		return "实验室ID:" + laboratoryId + ",实验室名:" + name + ",实验室地点:" + location + ",联系方式:" + contact + ",创建者:" + userId + "";
	}

}